<template>
	<view class="body">
		<block v-for="(oper, index) in operlist" :key="index">
			<home-oper-list :oper="oper"></home-oper-list>
		</block>
		<button class="user-set-btn" type="primary">退出登录</button>
	</view>
</template>

<script>
	import homeOperList from '../../components/home/home-oper-list.vue';
	export default {
		components:{
			homeOperList
		},
		data() {
			return {
				operlist:[
					{icon:'', name:'账号与安全', color: '',clicktype: 'navigateTo', url: '../../pages/user-set-repwd/user-set-repwd'},
					{icon:'', name:'绑定邮箱', color: '',clicktype: 'navigateTo', url: '../../pages/user-set-email/user-set-email'},
					{icon:'', name:'资料编辑',color: '',clicktype: 'navigateTo', url: '../../pages/user-set-userinfo/user-set-userinfo'},
					{icon:'', name:'小纸条',color: '',clicktype: '', url: ''},
					{icon:'', name:'清除缓存',color: '',clicktype: 'clearCache', url: ''},
					{icon:'', name:'意见反馈',color: '',clicktype: 'navigateTo', url: '../../pages/user-set-help/user-set-help'},
					{icon:'', name:'关于糗百',color: '',clicktype: 'navigateTo', url: '../../pages/user-set-about/user-set-about'}
				],
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	@import '../../common/form.css';
	.body{
		padding: 0 20upx;
	}
</style>
